package com.ruoyi.system.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 外部供电退服无停电告警对象 t_external_power_supply
 * 
 * @author zhangkai
 * @date 2021-12-10
 */
public class TExternalPowerSupply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "id")
    private String id;

    /** 退服日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退服日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date exitTime;

    /** 告警发生地市 */
    @Excel(name = "告警发生地市")
    private String city;
    
    /** 网元名称 */
    @Excel(name = "网元名称")
    private String neName;
    
    /** 站址编码 */
    @Excel(name = "站址编码")
    private String stationCode;

    /** 是否需要发电 */
    @Excel(name = "是否需要发电")
    private String isneedElectricity;

    /** 是否发电 */
    @Excel(name = "是否发电")
    private String isElectricity;
    
    /** 发电不及时原因 */
    @Excel(name = "发电不及时原因")
    private String untimelyCause;

    /** 如不需要发电是否有运营商证明 */
    @Excel(name = "如不需要发电是否有运营商证明")
    private String isOperator;

    /** 不需要发电原因 */
    @Excel(name = "不发电原因分类")
    private String unwantedCause;

    /** 所属运营商 */
    @Excel(name = "所属运营商")
    private String operator;
    
    /** 版本 */
    @Excel(name = "版本")
    private String version;
    
    /** 修改原因时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date reasonTime;

    /** 修改原因人 */
    private String reasonBy;

    /** 主内容修改次数 */
    private Long mainCurrentCount;

    /** 原因修改次数 */
    private Long curentCount;

    /** 版本  查询开始时间 */
    private String versionbegin;

    /** 版本  查询结束时间 */
    private String versionend;
    
    /** 错误信息 */
    private String errormessage;
    
    public String getErrormessage() {
		return errormessage;
	}

	public void setErrormessage(String errormessage) {
		this.errormessage = errormessage;
	}

	public Date getReasonTime() {
		return reasonTime;
	}

	public void setReasonTime(Date reasonTime) {
		this.reasonTime = reasonTime;
	}

	public String getReasonBy() {
		return reasonBy;
	}

	public void setReasonBy(String reasonBy) {
		this.reasonBy = reasonBy;
	}

	public Long getMainCurrentCount() {
		return mainCurrentCount;
	}

	public void setMainCurrentCount(Long mainCurrentCount) {
		this.mainCurrentCount = mainCurrentCount;
	}

	public Long getCurentCount() {
		return curentCount;
	}

	public void setCurentCount(Long curentCount) {
		this.curentCount = curentCount;
	}
    
    public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getNeName() {
		return neName;
	}

	public void setNeName(String neName) {
		this.neName = neName;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public Date getExitTime() {
		return exitTime;
	}

	public void setExitTime(Date exitTime) {
		this.exitTime = exitTime;
	}

	public void setStationCode(String stationCode) 
    {
        this.stationCode = stationCode;
    }

    public String getStationCode() 
    {
        return stationCode;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setIsneedElectricity(String isneedElectricity) 
    {
        this.isneedElectricity = isneedElectricity;
    }

    public String getIsneedElectricity() 
    {
        return isneedElectricity;
    }
    public void setIsElectricity(String isElectricity) 
    {
        this.isElectricity = isElectricity;
    }

    public String getIsElectricity() 
    {
        return isElectricity;
    }
    public void setIsOperator(String isOperator) 
    {
        this.isOperator = isOperator;
    }

    public String getIsOperator() 
    {
        return isOperator;
    }
    public void setUnwantedCause(String unwantedCause) 
    {
        this.unwantedCause = unwantedCause;
    }

    public String getUnwantedCause() 
    {
        return unwantedCause;
    }
    public void setUntimelyCause(String untimelyCause) 
    {
        this.untimelyCause = untimelyCause;
    }

    public String getUntimelyCause() 
    {
        return untimelyCause;
    }
    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }

    public String getVersionbegin() {
        return versionbegin;
    }

    public void setVersionbegin(String versionbegin) {
        this.versionbegin = versionbegin;
    }

    public String getVersionend() {
        return versionend;
    }

    public void setVersionend(String versionend) {
        this.versionend = versionend;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("neName", getNeName())
            .append("operator", getOperator())
            .append("exitTime", getExitTime())
            .append("stationCode", getStationCode())
            .append("city", getCity())
            .append("isneedElectricity", getIsneedElectricity())
            .append("isElectricity", getIsElectricity())
            .append("isOperator", getIsOperator())
            .append("unwantedCause", getUnwantedCause())
            .append("untimelyCause", getUntimelyCause())
            .append("version", getVersion())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
